package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class CompDcPayController {
	@RequestMapping("/PayCompetition")
public String successPay(@RequestParam String action) {
	if(action.equals("确定"))
	return "CompDcMain.html";
	
	else
	return "CompDcNew.html";
}
	
	
}
